package startPoint;

import visuals.MainFrame;
import drumkit.Drumkit;

import javax.xml.parsers.ParserConfigurationException;
import java.io.IOException;

import org.xml.sax.SAXException;
import song.Song;

/**
 * Created by IntelliJ IDEA.
 * User: Aleksey
 * Date: 03.01.2008
 * Time: 1:59:21
 */
public class TestMainFrame {
    /*public static void main(String[] args) {
        try {
            Drumkit drumkit = new Drumkit("./instruments/dfh.xml");
            Song song = new Song(drumkit);
            song.getBar(0, 0).dividePart(2);
            song.getBar(0, 0).dividePart(2);
            song.getBar(0, 0).dividePart(2);
            song.getBar(0, 0).dividePart(2);
            song.getBar(0, 0).dividePart(2);
            song.getBar(0, 0).dividePart(2);
            song.getBar(0, 0).dividePart(2);
            song.getBar(0, 0).uniteParts(3, 5);
            //song.getBar(0, 0).getPart(2).setNote(true);
            //song.getBar(0, 0).getPart(3).setNote(true);
            //song.getBar(0, 0).getPart(0).setNote(true);
            new MainFrame(song);
        }
        catch (ParserConfigurationException e) {
            e.printStackTrace();
        }
        catch (IOException e) {
            e.printStackTrace();
        }
        catch (SAXException e) {
            e.printStackTrace();
        }
    }*/
}
